package com.huang.service;

import com.huang.mapper.UserMapper;
import com.huang.pojo.UserM;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class UserServiceImp implements UserService{
    @Resource
    private UserMapper userMapper;


    @Override
    public UserM logn(String username) {
       return userMapper.login(username);
    }
}
